﻿namespace WMS6.Web.BaseInfoServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, DataContract(Name="DriverQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity"), GeneratedCode("System.Runtime.Serialization", "3.0.0.0"), DebuggerStepThrough]
    public class DriverQueryEntity : BaseQuery
    {
        [OptionalField]
        private string AddressField;
        [OptionalField]
        private string AgeField;
        [OptionalField]
        private string CarrierIDField;
        [OptionalField]
        private string CityField;
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private string CreatedDateField;
        [OptionalField]
        private string DriverCardNoField;
        [OptionalField]
        private string DriverCardTypeField;
        [OptionalField]
        private string DriverIDField;
        [OptionalField]
        private string DriverNameField;
        [OptionalField]
        private string FaxField;
        [OptionalField]
        private string IdCardField;
        [OptionalField]
        private string IsActiveField;
        [OptionalField]
        private string PriorityField;
        [OptionalField]
        private string ProvinceField;
        [OptionalField]
        private string RemarkField;
        [OptionalField]
        private string RowIDField;
        [OptionalField]
        private string SexField;
        [OptionalField]
        private string StatusField;
        [OptionalField]
        private string TelephoneField;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private string UpdatedDateField;
        [OptionalField]
        private string WhIDField;
        [OptionalField]
        private string ZipField;

        [DataMember]
        public string Address
        {
            get
            {
                return this.AddressField;
            }
            set
            {
                if (!object.ReferenceEquals(this.AddressField, value))
                {
                    this.AddressField = value;
                    base.RaisePropertyChanged("Address");
                }
            }
        }

        [DataMember]
        public string Age
        {
            get
            {
                return this.AgeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.AgeField, value))
                {
                    this.AgeField = value;
                    base.RaisePropertyChanged("Age");
                }
            }
        }

        [DataMember]
        public string CarrierID
        {
            get
            {
                return this.CarrierIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CarrierIDField, value))
                {
                    this.CarrierIDField = value;
                    base.RaisePropertyChanged("CarrierID");
                }
            }
        }

        [DataMember]
        public string City
        {
            get
            {
                return this.CityField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CityField, value))
                {
                    this.CityField = value;
                    base.RaisePropertyChanged("City");
                }
            }
        }

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    base.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public string CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedDateField, value))
                {
                    this.CreatedDateField = value;
                    base.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [DataMember]
        public string DriverCardNo
        {
            get
            {
                return this.DriverCardNoField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DriverCardNoField, value))
                {
                    this.DriverCardNoField = value;
                    base.RaisePropertyChanged("DriverCardNo");
                }
            }
        }

        [DataMember]
        public string DriverCardType
        {
            get
            {
                return this.DriverCardTypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DriverCardTypeField, value))
                {
                    this.DriverCardTypeField = value;
                    base.RaisePropertyChanged("DriverCardType");
                }
            }
        }

        [DataMember]
        public string DriverID
        {
            get
            {
                return this.DriverIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DriverIDField, value))
                {
                    this.DriverIDField = value;
                    base.RaisePropertyChanged("DriverID");
                }
            }
        }

        [DataMember]
        public string DriverName
        {
            get
            {
                return this.DriverNameField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DriverNameField, value))
                {
                    this.DriverNameField = value;
                    base.RaisePropertyChanged("DriverName");
                }
            }
        }

        [DataMember]
        public string Fax
        {
            get
            {
                return this.FaxField;
            }
            set
            {
                if (!object.ReferenceEquals(this.FaxField, value))
                {
                    this.FaxField = value;
                    base.RaisePropertyChanged("Fax");
                }
            }
        }

        [DataMember]
        public string IdCard
        {
            get
            {
                return this.IdCardField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IdCardField, value))
                {
                    this.IdCardField = value;
                    base.RaisePropertyChanged("IdCard");
                }
            }
        }

        [DataMember]
        public string IsActive
        {
            get
            {
                return this.IsActiveField;
            }
            set
            {
                if (!object.ReferenceEquals(this.IsActiveField, value))
                {
                    this.IsActiveField = value;
                    base.RaisePropertyChanged("IsActive");
                }
            }
        }

        [DataMember]
        public string Priority
        {
            get
            {
                return this.PriorityField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PriorityField, value))
                {
                    this.PriorityField = value;
                    base.RaisePropertyChanged("Priority");
                }
            }
        }

        [DataMember]
        public string Province
        {
            get
            {
                return this.ProvinceField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ProvinceField, value))
                {
                    this.ProvinceField = value;
                    base.RaisePropertyChanged("Province");
                }
            }
        }

        [DataMember]
        public string Remark
        {
            get
            {
                return this.RemarkField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RemarkField, value))
                {
                    this.RemarkField = value;
                    base.RaisePropertyChanged("Remark");
                }
            }
        }

        [DataMember]
        public string RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RowIDField, value))
                {
                    this.RowIDField = value;
                    base.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string Sex
        {
            get
            {
                return this.SexField;
            }
            set
            {
                if (!object.ReferenceEquals(this.SexField, value))
                {
                    this.SexField = value;
                    base.RaisePropertyChanged("Sex");
                }
            }
        }

        [DataMember]
        public string Status
        {
            get
            {
                return this.StatusField;
            }
            set
            {
                if (!object.ReferenceEquals(this.StatusField, value))
                {
                    this.StatusField = value;
                    base.RaisePropertyChanged("Status");
                }
            }
        }

        [DataMember]
        public string Telephone
        {
            get
            {
                return this.TelephoneField;
            }
            set
            {
                if (!object.ReferenceEquals(this.TelephoneField, value))
                {
                    this.TelephoneField = value;
                    base.RaisePropertyChanged("Telephone");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    base.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public string UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedDateField, value))
                {
                    this.UpdatedDateField = value;
                    base.RaisePropertyChanged("UpdatedDate");
                }
            }
        }

        [DataMember]
        public string WhID
        {
            get
            {
                return this.WhIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhIDField, value))
                {
                    this.WhIDField = value;
                    base.RaisePropertyChanged("WhID");
                }
            }
        }

        [DataMember]
        public string Zip
        {
            get
            {
                return this.ZipField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ZipField, value))
                {
                    this.ZipField = value;
                    base.RaisePropertyChanged("Zip");
                }
            }
        }
    }
}

